package com.hexiang.web;

import com.hexiang.domain.QueryRequestDayStr;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import com.hexiang.domain.QueryRequest;

@RestController
@Validated
public class TestController {

    @PostMapping("/test")
    public String test(@RequestBody @Validated QueryRequestDayStr queryRequest) {
        return "ok";
    }
}
